package com.eagle.common.entity.po;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * 后台用户表
 * 
 */
@SuppressWarnings("serial")
@Getter
@Setter
@ToString
public class AdminUser implements Serializable {


	/**
	 * 唯一主键
	 */
	private Integer id;

	/**
	 * 登录账号
	 */
	private String account;

	/**
	 * 登录密码
	 */
	private String password;

	/**
	 * 给密码加的盐
	 */
	private String salt;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 用户手机号
	 */
	private String phone;

	/**
	 * 所属运营商ID(0表示平台不属于任何运营商)
	 */
	private Integer operatorId;

	/**
	 * 该用户是否是管理员(0否,1是)
	 */
	private Integer isAdmin;

	/**
	 * 该用户是否是理货员(0否,1是)
	 */
	private Integer isTallyClerk;

	/**
	 * 绑定的支付宝唯一标识(如果是理货员,支付宝和微信必须绑定一个)
	 */
	private String bindingAlipayId;

	/**
	 * 绑定的微信唯一标识(如果是理货员,支付宝和微信必须绑定一个)
	 */
	private String bindingWechatId;

	/**
	 * 创建该用户的用户id(0表示初始化用户)
	 */
	private Integer creator;

	/**
	 * 用户状态(0禁用,1正常,3锁定)
	 */
	private Integer status;

	/**
	 * 用户创建时间
	 */
	@JsonFormat(pattern="YYYY-MM-DD")
	private java.util.Date createTime;

	/**
	 * 信息最后修改时间
	 */
	@JsonFormat(pattern="YYYY-MM-DD")
	private java.util.Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Integer operatorId) {
		this.operatorId = operatorId;
	}

	public Integer getIsAdmin() {
		return isAdmin;
	}

	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}

	public Integer getIsTallyClerk() {
		return isTallyClerk;
	}

	public void setIsTallyClerk(Integer isTallyClerk) {
		this.isTallyClerk = isTallyClerk;
	}

	public String getBindingAlipayId() {
		return bindingAlipayId;
	}

	public void setBindingAlipayId(String bindingAlipayId) {
		this.bindingAlipayId = bindingAlipayId;
	}

	public String getBindingWechatId() {
		return bindingWechatId;
	}

	public void setBindingWechatId(String bindingWechatId) {
		this.bindingWechatId = bindingWechatId;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}


}
